package com.manage.mapper;

import com.manage.pojo.operation.ShoesList;
import com.manage.utils.MyMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShoesListMapper extends MyMapper<ShoesList> {

    /**
     * @Description: 根据鞋id获取鞋详细信息
     */
    public ShoesList queryShoesByShoesId(@Param("shoesId") String shoesId);

    /**
     * @Description: 获取所有鞋详细信息
     */
    public List<ShoesList> queryAllShoes();

    /**
     * @Description: 根据用户id获取鞋详细信息
     */
    public List<ShoesList> queryShoesByUserId(@Param("userId") String userId);

    /**
     * @Description: 根据鞋的类型获取鞋详细信息
     */
    public List<ShoesList> queryShoesByShoesType(@Param("shoesType") String shoesType);
}